package com.brush.system.domain.req.syspost;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * ClassName: SysPostAddReq
 * Package: com.exam.system.domain.req.syspost
 * Description:
 *
 * @Author luo
 * @Create 2024/8/26 15:02
 * @Version 1.0
 */
@ApiModel(value = "SysPostAddReq", description = "岗位新增请求对象")
@Getter
@Setter
public class SysPostAddReq {

    /**
     * 岗位名称
     */
    @ApiModelProperty(value = "岗位名称",required = true)
    @NotBlank(message = "{syspost.not.postName}")
    private String postName;

    /**
     * 岗位编码
     */
    @ApiModelProperty(value = "岗位编码",required = true)
    @NotBlank(message = "{syspost.not.postCode}")
    private String postCode;

    /**
     * 岗位排序
     */
    @ApiModelProperty(value = "岗位排序",required = true)
    @NotNull(message = "{syspost.not.postSort}")
    private Integer postSort;

    /**
     * 状态
     */
    @ApiModelProperty(value = "状态",required = true)
    private String status;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remark;

}
